object DM: TDM
  OldCreateOrder = False
  Left = 405
  Top = 273
  Height = 522
  Width = 587
  object conApp: TADOConnection
    Connected = True
    ConnectionString = 
      'Provider=MSDASQL.1;Password=andywang;Persist Security Info=True;' +
      'User ID=admin;Extended Properties="DRIVER={Firebird/Interbase(r)' +
      ' Driver}; DBNAME=localhost:myfbdb"'
    LoginPrompt = False
    Left = 48
    Top = 24
  end
  object cxscReadOnly: TcxEditStyleController
    Style.Color = clInfoBk
    Style.TextColor = clMaroon
    Left = 48
    Top = 88
  end
  object cxscAddOnlyBrow: TcxEditStyleController
    Style.Color = 16706784
    Style.TextColor = clWindowText
    Left = 136
    Top = 88
  end
  object cxscAddOnlyEdit: TcxEditStyleController
    Style.Color = clWindow
    Left = 224
    Top = 88
  end
  object cxscWritableBrow: TcxEditStyleController
    Style.Color = 15924731
    Style.TextColor = clHighlight
    Left = 312
    Top = 88
  end
  object cxscWritableEdit: TcxEditStyleController
    Style.Color = clWindow
    Style.TextColor = clHighlight
    Left = 408
    Top = 88
  end
  object cxStyleRepository1: TcxStyleRepository
    Left = 136
    Top = 24
    object cxStyleHightLine: TcxStyle
      AssignedValues = [svColor, svTextColor]
      Color = 16744576
      TextColor = clHighlightText
    end
    object cxStyleReadOnly: TcxStyle
      AssignedValues = [svColor, svTextColor]
      Color = clInfoBk
      TextColor = clMaroon
    end
    object cxStyleWritableBrow: TcxStyle
      AssignedValues = [svColor, svTextColor]
      Color = 15924731
      TextColor = clHighlight
    end
    object cxStyleWritableEdit: TcxStyle
      AssignedValues = [svColor, svTextColor]
      Color = clWindow
      TextColor = clHighlight
    end
    object cxStyleAddOnlyBrow: TcxStyle
      AssignedValues = [svColor, svTextColor]
      Color = 16706784
      TextColor = clWindowText
    end
    object cxStyleAddOnlyEdit: TcxStyle
      AssignedValues = [svColor, svTextColor]
      Color = clWindow
      TextColor = clWindowText
    end
  end
  object rmgrdrptReport: TRMGridReport
    ThreadPrepareReport = True
    InitialZoom = pzDefault
    PreviewButtons = [pbZoom, pbLoad, pbSave, pbPrint, pbFind, pbPageSetup, pbExit, pbExport, pbNavigator]
    DefaultCollate = False
    SaveReportOptions.RegistryPath = 'Software\ReportMachine\ReportSettings\'
    PreviewOptions.RulerUnit = rmutScreenPixels
    PreviewOptions.RulerVisible = False
    PreviewOptions.DrawBorder = True
    PreviewOptions.BorderPen.Color = clGray
    PreviewOptions.BorderPen.Style = psDash
    CompressLevel = rmzcFastest
    CompressThread = False
    LaterBuildEvents = True
    isPrinted = False
    DisplayMsgName = #24744#27809#26377#26435#38480#25171#21360#65281
    PrintCopiesEnable = False
    isbtnPrintUpdate = False
    Left = 224
    Top = 208
    ReportData = {}
  end
  object rmdsHeader: TRMDBDataSet
    Visible = True
    DataSet = adsReportHeader
    Left = 48
    Top = 208
  end
  object rmdsDetail: TRMDBDataSet
    Visible = True
    DataSet = adsReportDetail
    Left = 136
    Top = 208
  end
  object adsReportHeader: TADODataSet
    Connection = conApp
    CursorType = ctStatic
    CommandText = 'select * from userdb where 1=0'
    Parameters = <>
    Left = 48
    Top = 160
  end
  object adsReportDetail: TADODataSet
    Connection = conApp
    CursorType = ctStatic
    CommandText = 'select * from userdb where 1=0'
    Parameters = <>
    Left = 136
    Top = 160
  end
  object rmjpgxprt1: TRMJPEGExport
    ScaleX = 1.000000000000000000
    ScaleY = 1.000000000000000000
    Left = 48
    Top = 272
  end
  object rmhtmxprt1: TRMHTMExport
    ScaleX = 1.000000000000000000
    ScaleY = 1.000000000000000000
    ExportImageFormat = ifJPG
    LinkTextFirst = #31532#19968#39029
    LinkTextNext = #19979#19968#39029
    LinkTextPrev = #19978#19968#39029
    LinkTextLast = #26368#21518#19968#39029
    LinkFont.Charset = DEFAULT_CHARSET
    LinkFont.Color = clBlue
    LinkFont.Height = -24
    LinkFont.Name = 'MS Sans Serif'
    LinkFont.Style = []
    CreateMHTFile = False
    Left = 136
    Top = 272
  end
  object rmxlsxprt1: TRMXLSExport
    ShowAfterExport = True
    ExportPrecision = 1
    PagesOfSheet = 1
    ExportImages = True
    ExportFrames = True
    ExportImageFormat = ifBMP
    JPEGQuality = 0
    ScaleX = 1.000000000000000000
    ScaleY = 1.000000000000000000
    CompressFile = False
    CostomWrap = False
    Left = 224
    Top = 272
  end
  object adsReportFolder: TADODataSet
    Connection = conApp
    CursorType = ctStatic
    AfterInsert = adsReportFolderAfterInsert
    CommandText = 'select * from SYS_RM_FOLDER order by PARENTID, FOLDERID'
    Parameters = <>
    Left = 224
    Top = 160
  end
  object adsReportItems: TADODataSet
    Connection = conApp
    CursorType = ctStatic
    AfterInsert = adsReportItemsAfterInsert
    CommandText = 
      'select ITEM_ID, FOLDERID, DELETED, MODIFIED, ITEMTYPE, NAME, RM_' +
      'SIZE, null as TEMPLATE from SYS_RM_ITEMDATA'
    Parameters = <>
    Left = 312
    Top = 160
  end
  object adsReportBlod: TADODataSet
    Connection = conApp
    CursorType = ctStatic
    AfterInsert = adsReportBlodAfterInsert
    CommandText = 'select * from sys_rm_itemdata'#13#10' where item_id = :item_id'
    Parameters = <
      item
        Name = 'item_id'
        DataType = ftLargeint
        Precision = 18
        Size = 8
        Value = Null
      end>
    Left = 408
    Top = 160
  end
  object rmrprtReport: TRMReport
    ThreadPrepareReport = True
    InitialZoom = pzDefault
    PreviewButtons = [pbZoom, pbLoad, pbSave, pbPrint, pbFind, pbPageSetup, pbExit, pbExport, pbNavigator]
    DefaultCollate = False
    SaveReportOptions.RegistryPath = 'Software\ReportMachine\ReportSettings\'
    PreviewOptions.RulerUnit = rmutScreenPixels
    PreviewOptions.RulerVisible = False
    PreviewOptions.DrawBorder = False
    PreviewOptions.BorderPen.Color = clGray
    PreviewOptions.BorderPen.Style = psDash
    CompressLevel = rmzcFastest
    CompressThread = False
    LaterBuildEvents = True
    isPrinted = False
    DisplayMsgName = #24744#27809#26377#26435#38480#25171#21360#65281
    PrintCopiesEnable = False
    isbtnPrintUpdate = False
    Left = 312
    Top = 208
    ReportData = {}
  end
end
